﻿namespace Sidvall.IdentityManager.Data
{
	public class PluginFilterResult
	{
		public PluginFilterResultType Type { get; set; }
		public PluginUserCollection Users { get; set; }

		#region FindUserById

		public PluginUser FindUserById(string userId)
		{
			if (this.Users == null)
				return null;
			return this.Users.FindItemById(userId);
		}

		#endregion
	}
}